home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Libris Britannia 4
/
science library(b).zip
/
science library(b)
/
DDJMAG
/
DDJ9310.ZIP
/
DFPP03.ZIP
/
TOOLBAR.H
< prev
next >
Wrap
C/C++ Source or Header
|
1993-09-23
|
694b
|
32 lines
// -------- toolbar.h
#ifndef TOOLBAR_H
#define TOOLBAR_H
#include "pbutton.h"
const COLORS ToolBarBG = BLUE;
// ------ Toolbar class
class ToolBar : public DFWindow {
void ParentSized(int xdif, int ydif);
public:
ToolBar(DFWindow *par);
};
// ------- Toolbar button class
class ToolButton : public PushButton {
void SetColors();
void InitWindow(const char *lbl);
DFWindow *oldFocus;
virtual void ButtonCommand();
virtual Bool SetFocus();
public:
ToolButton(const char *lbl, int lf, int tp, DFWindow *par=0);
ToolButton(const char *lbl, DFWindow *par=0);
virtual void Paint();
virtual void Border();
};
#endif